import Login from '@/pages/Login'import Main from '@/pages/Main'import PreviewProcess from '@/pages/PreviewProcess'import ProcessList from '@/pages/ProcessList'import ProcessDesign from '@/pages/ProcessDesign'import { createBrowserRouter } from 'react-router-dom'const index = createBrowserRouter([    {        path: '/',        Component: Main,        children: [            {                path: 'process-list',                Component: ProcessList            },            {                path: 'design',                Component: ProcessDesign,            },            {                path: 'preview',                Component: PreviewProcess            }        ],    },    {        path: '/login',        Component: Login    },    {        path: '*',        Component: Login    }])export default index